$LOAD_PATH.push File.expand_path("../lib", __FILE__)

# Maintain your gem's version:
require "can_camel/version"

# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
  s.name        = "can_camel"
  s.version     = CanCamel::VERSION
  s.authors     = ["Alexander Smirnov"]
  s.email       = ["begdory4@gmail.com"]
  s.homepage    = "https://github.com/JelF/can_camel"
  s.summary     = "CanCamel is a cancan style access controll library"
  s.description = <<-DESCR.gsub(/(\A|\n)[^\|]+\|/, ' ')
    |CanCamel allows to manage access levels with all the power of cancan style
    |(saving semantics). It means, that you can use `can?` method anywhere you want
    |to check privileges of a selected user to access something in some way.
    |See readme file at https://github.com/JelF/can_camel/blob/master/README.md
    |to learn more
  DESCR
  s.license     = "WTFPL"

  s.files = Dir["{app,config,db,lib}/**/*", "LICENSE", "Rakefile", "README.md"]

  s.add_dependency "rails", "~> 4"

  # Maybe it could be lowered
  s.required_ruby_version = '> 2.1'
end
